<template>
  <div>
    <div class="back">
      <div class="dlbox">
        <i class="iconfont icon-zuojiantou" @click="fanhui2()"></i>
        <p class="dlp">网易CEO丁磊</p>
      </div>
      <div class="dinglei">
        <div class="show">
          <div>
            <img src="tx.jpg" alt="" />
          </div>
          <ul>
            <li>
              9999
              <span>粉丝</span>
            </li>
            <li>
              66
              <span>关注</span>
            </li>
            <li>
              Lv.9
              <span>等级</span>
            </li>
          </ul>
          <div class="guz">已关注</div>
          <div class="dx">
            <i class="iconfont icon-duanxin1"></i>
          </div>
        </div>
      </div>
      <span class="s1"
        ><i class="iconfont icon-fy_ic_vip"></i>网易公司创始人，CEO</span
      >
      <div class="nav">
        <div>
          <span @click="zy()">主页</span>
          <div class="border"></div>
        </div>
        <div>
          <span @click="dongt()">动态</span>
          <div class="border"></div>
        </div>
        <div>
          <span @click="move()">视频</span>
          <div class="border"></div>
        </div>
      </div>
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: [],
    };
  },
  methods: {
    zy() {
      this.$router.push("/dt");
    },
    fanhui2() {
      this.$router.go(-1);
    },
    dongt() {
      this.$router.push("/dldongt");
    },
    move() {
      this.$router.push("/move");
    },
  },
};
</script>

<style scoped>
.dinglei {
  height: 7.06rem;
  width: 100%;
  background: url(/dl.jpg);
  padding-top: 5rem;
}
.show {
  width: 100%;
  height: 2.33rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  background: linear-gradient(to top, #f4f4f6 50%, #f4f4f6 20%);
}
img {
  width: 1.68rem;
  height: 1.68rem;
  border-radius: 50%;
  margin-top: 0.6rem;
}
ul {
  width: 4.82rem;
  display: flex;
  justify-content: space-around;
  font-weight: 550;
  vertical-align: middle;
}
span {
  display: block;
  color: #908f94;
}
li {
  border-right: 0.01rem solid #e0e3e8;
  padding-right: 0.3rem;
  font-size: 0.27rem;
  color: #28292d;
  text-align: center;
}
.guz {
  width: 3.57rem;
  height: 0.57rem;
  background: #e4e4e8;
  position: absolute;
  top: 6.5rem;
  right: 1rem;
  margin-top: 0.15rem;
  border-radius: 0.25rem;
  text-align: center;
  line-height: 0.57rem;
  color: #a3a2a7;
  flex-wrap: wrap;
}
.dx {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  border: 0.01rem solid #d7d7d7;
  text-align: center;
  line-height: 00.62rem;
}
.icon-duanxin1 {
  font-weight: 600;
  font-size: 0.24rem;
  color: #363636;
}
.icon-fy_ic_vip {
  color: #f03c35;
  font-size: 0.35rem;
}
.s1 {
  width: auto;
  font-size: 0.23rem;
  padding-left: 0.3rem;
  margin-top: 0.35rem;
}
.clear {
  clear: both;
}
.nav {
  display: flex;
  justify-content: space-between;
  width: 5.05rem;
  height: 1rem;
  text-align: center;
  font-size: 0.26rem;
  font-weight: 600;
  color: #5b5b5d;
  margin-left: 1.5rem;
}
.border {
  background-color: #fe444a;
  width: 0.68rem;
  height: 0.14rem;
  border-radius: 0.05rem;
}
.back {
  background-color: #f4f4f6;
}
.dlbox {
  padding-top: 0.1rem;
  padding-left: 0.3rem;
  float: left;
  font-size: 0.4rem;
  color: #fff;
}
.dlp {
  display: inline-block;
}
.icon-zuojiantou {
  font-size: 0.4rem;
}
</style>